package pile.pay.mapper;

import org.apache.ibatis.annotations.Param;
import pile.pay.entity.PlatformTrusteeship;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/**
 * <p>
 * 新平台托管表 Mapper 接口
 * </p>
 *
 * @author 郭天义
 * @since 2024-06-28
 */
@Repository
public interface PlatformTrusteeshipMapper extends BaseMapper<PlatformTrusteeship> {

    /**
     * 根据电站id和渠道查询托管数据
     * @param stationId
     * @param channel
     * @return
     */
    PlatformTrusteeship selectByStationIdAndChannel(@Param("stationId") Integer stationId, @Param("channel")Integer channel);
}
